package com.lp.yupao.service;

import com.lp.yupao.model.domain.UserTeam;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
* @author lp337
* @description 针对表【user_team(用户队伍关系)】的数据库操作Service
* @createDate 2024-05-18 21:01:56
*/
public interface UserTeamService extends IService<UserTeam> {

    /**
     * 加入队伍
     *
     * @param teamId 队伍id
     * @param password 队伍密码
     * @param request 请求
     * @return 是否加入成功
     */
    long insertTeam(Long teamId, String password,HttpServletRequest request);
}
